package com.study.springcloud;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @Author chaos-supreme(混沌至尊):raoluping
 * @Date 2017/10/27 10:31
 * @ProjectName springcloudfather
 * @Description
 */
// 设置服务为配置中心
@EnableConfigServer
@SpringBootApplication
public class ConfigCenterApplication {
  public static void main(String[] args) {
    new SpringApplicationBuilder(ConfigCenterApplication.class).web(true).run(args);
  }
}
